#-------------------------------------------------
#
# Project created by QtCreator 2017-02-28T19:42:13
#
#-------------------------------------------------

QT       += core

QT       -= gui

TARGET = KDLTest_xenomai
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app


SOURCES += main.cpp \
    models.cpp \
    measuretime.cpp \
    solverTest.cpp \
    trajectoryTest.cpp

HEADERS += \
    models.hpp \
    measuretime.h \
    solverTest.hpp \
    trajectoryTest.hpp

INCLUDEPATH += /home/tc/IGH_XENOMAI_QT_LIB/ethercat-1.5.2/output/include

LIBS += -L/usr/xemomai/lib/ -lnative

unix:!macx: LIBS += -L/usr/xenomai/lib/ -lrtdm

INCLUDEPATH += /usr/xenomai/include
DEPENDPATH += /usr/xenomai/include

unix:!macx: LIBS += -lxenomai

QMAKE_CFLAGS += -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -I/usr/xenomai/include/posix
QMAKE_LFLAGS += -Wl,-rpath,/usr/xenomai/lib
#QMAKE_CFLAGS += -Wl,@/usr/xemomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai  -lrt

LIBS += -Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lrt -lpthread

LIBS += -L /opt/ros/indigo/lib/ -lorocos-kdl
